import axios from 'axios'

const api = axios.create({
  baseURL: import.meta.env.VITE_BACKEND_URL || 'http://localhost:5000'
})

export const getLatestIPs = async () => {
  const response = await api.get('/api/get_latest_ips')
  return response.data
} 